533a5f0905
When <authentication-manager> specifies an id, the <password-encoder> is not used because the parser changes the bean id without aliasing it to BeanIds.AUTHENTICATION_MANAGER which is used by AuthenticationManagerBeanDefinitionParser to look up the AuthenticationManager bean. This commit updates AuthenticationManagerBeanDefinitionParser to ensure there is an alias to BeanIds.AUTHENTICATION_MANAGER when the id is specified. Fixes gh-3296