The logout button in the admin panel is not functioning. Clicking “Logout” does nothing, or redirects to an incorrect route.