See [comment](https://github.com/spring-projects/spring-security/issues/7696#issuecomment-600023868) for details on this bug. Related #7748 #7696