Renamed invalid_email() to invalid_auth(). #1017