What is the difference between UNAUTHENTICATED and INVALID_CREDENTIALS?
INVALID_CREDENTIALS is the answer of sign-in to a wrong email or password.
UNAUTHENTICATED is the answer of any other operation that got no valid
session or bearer token.
More: Errors, Every code