[#42691971] Hooked up some missing checks to get the login-redirect working properly, so that a not-logged-in user is taken to the login page and then redirected to the topic#show page.