Added support for user/pass basic authentication