Support basic authentication for private repos.