Issue #20120: Add a test case to verify the % char can be used in .pypirc

I noticed that there is no test for this feature while doing
triaging work on pypa/pypi-legacy.
1 file changed