Fix login/logout routes under refinery pages.