The former president has prepared to challenge the outcome. State and local authorities are ready for more sophisticated and dispersed attacks on the system this time.