Display a more helpful error message when failing to login.