Would be nice to do a report_auth_info() at the end of this function?