check auth error, return exit code 2