2nd try to fix some test failures on windows. Failure: http://hgbuildbot.kublai.com/builders/Windows 2008 R2 hg tests (stable)/builds/32/steps/run-tests.py (python2.6)/logs/stdio broken since: cce7ab960312, because util.hidepassword uses str(url(...))