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