fixed AuthenticationException throwing to match the changed signature