SPA mode triggers `beforeLoad` throw redirect to login because of matched /_authed layout - TanStack