Fix XHR support for (CORS) digest auth

We need to make authenticated cross site requests, using digest auth, with your lib, which isn't supported, at this moment.