title: Ajax Authorization Header has not been sent
body: <p>I'm having some difficulties with my Ajax Authorization header. I try to send it this way:</p>
  
  <pre><code>$.ajax({
      url: query,
      type: "GET",
      accept: "application/json",
      dataType: 'json',
      beforeSend: function (xhr) {
          alert('1');
          var bytes = Crypto.charenc.Binary.stringToBytes("xxxxxxxx:xxxxxxxxx");
          alert('2'+bytes);
          var bas64 = Crypto.util.bytesToBase64(bytes);
          alert('3'+bas64);
          xhr.setRequestHeader("Authorization", "Basic " + bas64);
          alert('up and awaaaaaaaay');
      },
      succes: function (result) {
          alert('success!');
      },
      error: function (xhr, ajaxOptions, thrownError) {
          alert(xhr.responseText);
          //$('#DisplayInfoLoader').html('&lt;span style="color: red;"&gt;An Error occured....' + xhr.responseText + '&lt;/span&gt;');
          //$('#DisplayInfoLoader').fadeOut(3000);
      }
  });
  </code></pre>
  
  <p>But when I try th code.. it does not send the header... Going to the query-url by hand and filling in the credentials work... and even with the credentials in a session (/client GET request sends the Authorization header perfectly) the header is NOT sent when accessing the /Project URI....</p>