Rightwing organisations have spent months and millions of dollars contesting ballot procedures and voter eligibility