Fix InvalidAuthenticationTest