Adds an alter hook to change the redirect and ignored routes.
hook_password_policy_routes_alter(string &$change_password_route, array &$ignored_routes);