Fixes to enable getting signed URLs from AWS S3.