Test for bug 13075: XMLHttpRequest with failed authentication should set status to 401.

Sync, no credentials: OK
Sync, incorrect credentials: OK
Async, no credentials: [test disabled]
Async, incorrect credentials: [test disabled]
