title: MVC3 app redirects to ReturnUrl=%2f
body: <p>I am using Form Authentication in my MVC3 web app. I have added following in root web.config:</p>
  
  <pre><code>&lt;authentication mode="Forms"&gt;
      &lt;forms name=".FormsAuth" loginUrl="~/Home/Index" timeout="2880" /&gt;            
  &lt;/authentication&gt;
  &lt;authorization&gt;
      &lt;deny users="?"/&gt;
  &lt;/authorization&gt;
  </code></pre>
  
  <p>When I launch my app, it redirects to <code>http://localhost:22888/Home/Index?ReturnUrl=%2f</code> instead <code>http://localhost:22888</code>. If I remove line <code>&lt;deny users="?"&gt;</code> then it redirects correctly but then <code>Context.User.Identity.Name</code> gives no value after login.</p>
  
  <p>Please help.</p>