Use http.getSharedObject(AuthenticationManager.class)

The method http.getAuthenticationManager() was removed in favor of using
shared objects.