auth: Split out make_user_info_SamBaseInfo and add authenticated argument