Report question

Question: Why does AuthorizeAttribute redirect to the login page for authentication and authorization failures?