JavaScript does not have access to the basic authentication information included in URLs, see #28. This will require server side processing : ( Include in header?