Fix S3 responses from OSG

Fixes EUCA-9939 and EUCA-9966