Upgrade to [Spring Security 7.0.0-RC2](https://github.com/spring-projects/spring-security/releases/tag/7.0.0-RC2).