This is needed in order to re-add support for CAS. See https://github.com/spring-projects/spring-security/issues/10347 for context.