Accommodate change to AbstractAuthenticationProvider.authenticate
method.