[Pywikibot-commits] [Gerrit] pywikibot/core[master]: refactor(LoginManager.__init__): reduce duplicate lines of codes