pep8-ified pywikibot/login.py

Change-Id: Ia974873801cd37906c097e2c4f3130fcdf1c496d