Fix S3 credentials configuration.