title: Web API 2 Windows authentication keeps prompting for login
body: <p>I have a basic Web API 2 setup with Visual Studio 2015 along with IIS 10.0 on Windows 10. 401 requests (Window authentication) keeps prompting me for a login. I can login and it accepts my credentials but nothing that I do gets rid of this prompt.</p>
  
  <p>I have:</p>
  
  <ul>
  <li>Added <code>&lt;authentication mode="Windows" /&gt;</code> into web.config under <code>&lt;system.web&gt;</code></li>
  <li>Disabled anonymous authentication through IIS</li>
  <li>Enabled Windows authentication through IIS</li>
  </ul>
  
  <p>Is there something I need to add into my controller or WebApiConfig to request a URL like /api/core/getweatherdata without bring prompted for a login?</p>