make the authentication error message more useful

If class name of exception is not printed, exception containing just some username isn't very useful.