r19166: better bug and reporting and proper authentication tracking