title: ASP.NET Web API Custom Role Provider GetRolesForUser Only Called Once
body: <p>I am using a custom role provider with Web API. I use the <code>Authorize</code> attribute to specify which roles the user must have on each controller. I use Windows authentication, so the user doesn't need to log in explicitly. This is an internal API.</p>
  
  <p>On pages making multiple AJAX calls, the first AJAX call succeeds. All the rest return a 401.</p>
  
  <p>I put a break point in <code>GetRolesForUser</code> in my custom role provider. I am only seeing this method getting hit one time.</p>
  
  <p>Is there a reason why only the first AJAX request is using my role provider?</p>