added basic authentication, if the url contains a user:port@host thingy