Avoid recursively calling self; instead call outer class's getCredentials.
Merge pull request #147 from jasobrown/master

Avoid recursively calling self; instead call outer class's getCredentials