cleaned up ICredential. #305
Merge pull request #306 from jasobrown/1.2

cleaned up ICredential. #305

reviewed by @sagarl