Myanmar authorities have agreed to allow the United Nations to resume distribution of food in northern Rakhine state which was suspended for two months.