Added basic authentication for http remotes.