i#1818 review auth: update upload.py to the latest version
i#1818 review auth: update upload.py to the latest version

This just updates upload.py but does not yet pass in --oauth2.  We have
some planned local changes to upload.py and this clean 3rd-party state will
isolate those.

AmesianX/dynamorio,AmesianX/dynamorio,AmesianX/dynamorio,AmesianX/dynamorio,AmesianX/dynamorio