Auth / beforeLoad / router.invalidate / redirect problem with router context update - TanStack