Fix reloading of pages and renderings on login/logout