Create AuthenticationError and propagate it instead of calling sys.exit() on extension call failure