Added STS (Security Token Service) support for AWS SES requests.

Also fixed AWS requests not working through command line interface.