Last month, hundreds of Afghans flooded into small photo studios in Kabul, seeking photographs for passports and ID cards before the last of the previous government's institutions closed their doors.