we're being redirected because of a bad login attempt or because the user doesn't have authority for the requested URL. We'll put this error in the template .