Added support for passing basic HTTP authentication in the url.