title: Razor redirect contains unexpected behaviors
body: <p>I have a very simple login page. The issue is is in the Login method. I execute RedirectToAction, however, it never changes the webpage from the login page to the home page. </p>
  
  <p>HomeController (main application controller)</p>
  
  <pre><code>    public ActionResult Index(string username = null, string password = null)
      {
          if (username == null || password == null)
          {
              return RedirectToAction("Index", "Auth");
          }
  
          this.username = username;
          this.password = password;
  
          return View(); //and have tried return View("Index");
      }
  </code></pre>
  
  <p>AuthController (grabs the username and password)</p>
  
  <pre><code>    public ActionResult Login(string username, string password)
      {           
          return RedirectToAction("Index","Home", new { username=username,password=password});
      }
  </code></pre>
  
  <p>Button Press</p>
  
  <pre><code>function Login() {
      var _get_searchdetails = '@Url.Action("Login", "Auth")';
      $.ajax({
      url: _get_searchdetails,
      data: { username: $('#username').val(), password: $('#password').val() },
      type: "POST",
      beforeSend: function () {
  
      },
      error: function (xhr, textStatus, error) {
          alert("Try again!");
      },
      success: function (htmldata, xhr, settings) {
  
      }
      });
  }
  </code></pre>