404 on authentication error
I use Identity V3 authentication with tokens and found that 404 is returned for authentication related scenarios. The message is always:
Authorization failed: This is not a recognized Fernet token <token here> (HTTP 404)
I kind of understand why this is returned by the Identity API (although I see it very controversial). But the greater issue is that this error is seeping through all services, like Heat and Mistral. This creates a very hard situation where it depends only on the exception's message whether it is an authentication error or a resource error.
How should I overcome these issues?