Display useful error messages on failed login.