fixing AWS.BadClaimsSupplied error

https://groups.google.com/forum/?fromgroups=#!topic/boto-users/1EcL6BIFEdo from Vik's fix.