title: HTTP BASIC Authentication logout issue with Chrome
body: <p>I am using this below method to logout from the HTTP server which is using Basic HTTP authentication.
  This work fine with IE and FireFox . But in case of Chrome , I am able to get the html file even with the wrong user name and password.</p>
  
  <p>In Chrome , the flow is , I am getting "********** Failed ***********" error then the requested page(some_server_file.html) is shown.</p>
  
  <p>But in IE/Chrome , the flow is , I am getting "********** Failed ***********" error then login dialog is prompting for the credentails.</p>
  
  <p>Someway , Chrome is sending the correct user name and password even after the first request failed with the wrong credentails.</p>
  
  <p>Can anyone fix the Chrome issue?</p>
  
  <pre><code>function logout() {
      jQuery.ajax({
              type: "get",
              url: "some_server_file.html",
              async: false,
              username: "wronguser",
              password: "wrongpass",
              headers: {"Authorization": "Basic xxx"}
          })
          .success(function () {
              console.log("********** Success ***********");
          })
          .fail(function () {
              console.log("********** Failed ***********");
          });
      return false;
  }
  </code></pre>
  
  <p>Thx</p>