Add :user feature to hg provider.

Add :user feature to hg provider. Essentially copied from the same feature in the git provider.