Firefox OS, XMLHttpRequest, CORS, HTTP Basic authentication