Fix IAMCreds tests.
Annotate errors in IAMCreds.