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.
Mercurial.ini
[auth]
ceems.prefix=xs000792/hg
ceems.username=hhe070
ceems.schema=http
hgrc project 1
[paths]
default = http://xs000792/hg/project1
hgrc project 2
[paths]
default = http://xs000792/hg/project2