Allow AWS credentials to be passed in with URI object.
Further simplify.