S3DownloadHandler: fix auth for requests with quoted paths/query params