Test login to elections.
PEP8 pass.