added auth credentials to httpurlupload