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