I'm trying to connect to a webservice that requires basic authentication, but when I use ajax with username and password set, it still shows the browsers loginform, and the Credentials from the ajax request is not send. Is this not what it is intended for, or do I do something wrong?