Improve the verbosity of login errors.