Handle authentication for mercurial repositories

The code does nothing, same as for git repositories.