Modified auth middleware to support both new auth token enum and existing UserIdentity (as a case of that enum). The whole credential enum is now parsed and stored in the extension.
The UserIdentity case is now handled by accessing the token enum first.
Depends on D9242