fixed AuthenticationException throwing to match the changed signature
Merge pull request #229 from smatyas/authentication-exception-fix

fixed AuthenticationException throwing to match the changed signature