fix auth test