title: "setup.py upload" is failing with "Upload failed (401): You must be identified to edit package information"
body: <p>When running..</p>
  
  <pre><code>python setup.py sdist register upload
  </code></pre>
  
  <p>..I get the following output:</p>
  
  <pre><code>running register
  We need to know who you are, so please choose either:
   1. use your existing login,
   2. register as a new user,
   3. have the server generate a new password for you (and email it to you), or
   4. quit
  Your selection [default 1]:  1
  Username: example
  Password: ...
  Registering mypackage to http://pypi.python.org/pypi
  Server response (200): OK
  I can store your PyPI login so future submissions will be faster.
  (the login will be stored in /Users/dbr/.pypirc)
  Save your login (y/N)?y
  running upload
  Submitting dist/mypackage-1.2.1.tar.gz to http://pypi.python.org/pypi
  Upload failed (401): You must be identified to edit package information
  </code></pre>
  
  <p>It's prompting to save the login details, despite <code>~/.pypirc</code> already containing this. It then fails to upload files for a package I own, and have full write-access to.</p>