Fixing small problems in AWSProvider

[#54814928]