Consider defining a bean of type 'org.springframework.security.authentication.AuthenticationManager' in your configuration.