title: CORS with Windows Authentication
body: <p>I've run into the CORS issue when doing an xhr request to a different domain (in my case, localhost to another server). An article, <a href="http://evolpin.wordpress.com/2012/10/12/the-cors/" rel="nofollow"><em>The CORS</em></a>, describes the various issues I've run into. I've managed to solve the first two problems, related to both xhr and json. </p>
  
  <p>Now, I receive a 401, as described in 'Problem 3' on the blog. However, I'm using Windows Authentication (via NTLM). What can I do to fix this?  The call to the server is very simple:</p>
  
  <pre><code>$.ajax('http://myserver/mymethod', {    
     contentType: 'application/json',
  xhrFields: {
      withCredentials: true
  }
  })
  </code></pre>