Merge "Hard-deprecate LegacyHookPreAuthenticationProvider class"