Security\Authenticator: Added tests of authentication exceptions.