Added savedCredentials in the auth api