How to short-circuit in auth middleware? - TanStack