As you alleged, there are serious flaws the way your marriage was solemnized.
One of the essential requisites for a valid marriage is the authority of the solemnizing officer. In the absence thereof, the marriage is rendered void ab iniito unless one of the parties believes in good faith that at the time of the marriage the solemnizing officer is cloth with such an authority. Good faith is a matter and question of fact, which must be proven in an appropriate proceeding.
It is different if the solemnizing officer has an expired authority to solemized, which could be proven through a certification issued by the National Statistics office as they maintain a roster of persons authorized to solemnize marriage considering that these personalities need to register to police their ranks.
In any event, if at the time of the marriage, that authority expired, I beleive that such a defect can't be ratified by convalidation, hence, the marriage is void from the very beginning.
A petition for declaration of nullity is the proper remedial action.
Hope I was able to answer your query.
Atty Karl Rove