Changed the cred methods over to be async promises

This should pass tests after then/promises#58 is fixed.