fix checkCredentials http calls