fixes #6100 auth_gettoken now works with email address