support for disabling AWS credentials

patch submitted by anonymous contributor