But the former president  whose tenure between 2005 and 2013 saw mass protests at home, plummeting relations with the West and a shattered economy  surprised everyone when he registered along with Baghaie on Wednesday.