Add https auth on Repo.sync