title: HTML error 401 unauthorized when using Authorize Attribute in .NET
body: <p>Iam using authorize to lock the controller after a user signs in. Users are saved in EF with no use of roles or something like that. I read the documentation of authorize and it seems like I have to specify users or roles that could have access to the locked controller; </p>
  
  <p>Here i have the Account controller;</p>
  
  <pre><code>    [Authorize]
      public ActionResult Index()
      {
          return View();
      }
  </code></pre>
  
  <p>When a user logs in, the user should be redirected to this action which is locked with the attribute [Authorize], but unfortunately i am getting this error "Html error 401 unauthorized".
  My question is: how to give access to all users that are registered in EF DB to get redirected to the next page and skip this error??</p>