Add support for iam instance profiles.

With iam instance profiles, you no longer need to explicitly provide
credentials. Temporary ones are generated on the server. Setting the
use_iam_profile variable in config will have it use those credentials
instead