title: My app keeps me redirecting to Account/LogOn?ReturnUrl=%2f
body: <p>I created an MCV 3 app and deployed it to a development server in my organization. It works OK in my development machine. However, I noticed that in the dev server, the application redirects me to Account/LogOn?ReturnUrl=%2f web page even after I've logged in correctly. I also see that sometimes some of the assets(CSS, Javascript, images) are not served either. </p>
  
  <p>The error message shown is below. After refreshing the page, the application works just fine. If I don't accesss the app in a little while, the error comes back.
  Any ideas?</p>
  
  <blockquote>
    <p>Server Error in '/' Application.</p>
    
    <p>The resource cannot be found.</p>
    
    <p>Description: HTTP 404. The resource you are looking for (or one of its
    dependencies) could have been removed, had its name changed, or is
    temporarily unavailable.  Please review the following URL and make
    sure that it is spelled correctly. </p>
    
    <p>Requested URL: /Account/LogOn</p>
  </blockquote>