added custom authenticator to enable rest call for credentials check