Disabled EC2 instance credential check from a test.

The test was failing if it was run on a EC2 instance with
a valid instance profile.
Fixed a Ruby 1.8.7 test issue.

Two tests were failing periodically due to hash ordering
issues.  Now comparing the sorted values of the hashes
under test to resolve the ordering issue.