fix for hadoop-3733
modification to S3Credentials required to fix hadoop-3733
needed to modify test case to demonstrate bug in unmodified code