Fixed S3 authentication