Allegations of election fraud by a US diplomat fired from the UN mission in Afghanistan has caused an uproar in the international community.