From Tehran to Beijing, parts of the left have become disturbingly willing to excuse authoritarian power