I’m actually experiencing a similar issue with XWiki 17.10.2, but in my case, it specifically affects the menu and the footer (History, Attachments,etc.) After a session timeout, instead of being redirected to a login page or having the content display properly, these elements seem to trigger unexpected behavior, such as displaying an unintended login page.