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

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