Check for credentials.