exit on auth errors