Fix spec for AuthenticationHandler