
Pages are automatically cached when a page is loaded unless specifically disabled. The problem was your Wayfinder call cached those pages as if no user were logged in. So even logging in would yield the same result. The solution was to make Wayfinder generate the menu upon every request of each page
(But im sure i cleared cache)