title: Form Base Authentication not working when I use random Database column
body: <p>I am using MVC form base custom authentication using SQL database. I've Column  with <code>CustomerRole</code> name.  </p>
  
  <p>I am checking Authorization as per following:</p>
  
  <h2>TestController.CS</h2>
  
  <pre><code>[Authorize]
  public ActionResult Index()
  {
      return View();
  }
  
  [Authorize(Roles="admin")]
  public ActionResult AdminPage()
  {
      return View();
  }
  </code></pre>
  
  <h2>AccountController.cs</h2>
  
  <pre><code>[HttpPost]
  public ActionResult Login(UserModel model, string returnUrl)
  {
      // Lets first check if the Model is valid or not
      if (ModelState.IsValid)
      {
          using (userDbEntities entities = new userDbEntities())
          {
              string username = model.username;
              string password = model.password;
              // Now if our password was enctypted or hashed we would have          done the
              // same operation on the user entered password here, But for now
              // since the password is in plain text lets just authenticate directly
  
              bool userValid = entities.Tbl_UserMast.Any(user =&gt; user.UserName == username &amp;&amp; user.UserPassword == password);
  
              // User found in the database
              if (userValid)
              {
                  FormsAuthentication.SetAuthCookie(username, false);
                  if (Url.IsLocalUrl(returnUrl) &amp;&amp; returnUrl.Length &gt; 1 &amp;&amp; returnUrl.StartsWith("/")
                   &amp;&amp; !returnUrl.StartsWith("//") &amp;&amp; !returnUrl.StartsWith("/\\"))
                  {
                      return Redirect(returnUrl);
                  }
                  else
                  {
                      return RedirectToAction("Index", "Home");
                  }
               }
               else
               {
                   ModelState.AddModelError("", "The user name or password provided is incorrect.");
               }
            }
        }
  
        // If we got this far, something failed, redisplay form
        return View(model);
    }
  </code></pre>
  
  <p>So when I go AdminPage Action. It shows me I am not Authorized.<br>
  If I change my column name as <code>Roles</code>, it is working. But I am not allowed to change column name. Is there any other alternative, where I can use Authorization with same column name</p>