s3: fixed auth error by reusing S3Api instance during uploads and downlo...

...ads