username from Mercurial.ini
Created originally on Bitbucket by dlaudy (David Laudy)
It could be helpfull that keyring uses the username defined in the Mercurial.ini instead of searching only in local .hgrc.
hgrc project 1
default = http://xs000792/hg/project1
hgrc project 2
default = http://xs000792/hg/project2