title: appcfg.py shows You must be logged in as an administrator
body: <p>When I try to upload a sample csv data to my GAE app through <code>appcfg.py</code>, it shows the below 401 error.</p>
  
  <pre><code>2015-11-04 10:44:41,820 INFO client.py:571 Refreshing due to a 401 (attempt 2/2) 
  2015-11-04 10:44:41,821 INFO client.py:797 Refreshing access_token 
  
  Error 401: --- begin server output ---
  You must be logged in as an administrator to access this.
  --- end server output ---
  </code></pre>
  
  <p>Here is the command I tried,</p>
  
  <pre><code>appcfg.py upload_data --application=dev~app --url=http://localhost:8080/_ah/remote_api --filename=data/sample.csv
  </code></pre>