Fixed Login and logout with non-default language