Better support for login/logout on multilingual sites