title: How to authenticate user without login
body: <p>Is it possible to authenticate user under the standard <strong>ASP .NET MVC4</strong> project using only  <strong>UserId</strong> so we can skip the code below?</p>
  
  <pre><code>[HttpPost]
  [AllowAnonymous]
  [ValidateAntiForgeryToken]
  public ActionResult Login(LoginModel model, string returnUrl)
  {
      if (ModelState.IsValid &amp;&amp; WebSecurity.Login(model.UserName, model.Password, persistCookie: model.RememberMe))
      {
  </code></pre>