added class method to check if creds exists, fixed up a bug or two with auth and domains