The losing candidate for mayor of a Michigan city has sued to count 37 ballots that were disallowed due to security concerns.