Merge pull request #12 from craigcitro/interface

Check credentials types before using them.