[bugfix] Fix bug in action=clientlogin
[bugfix] Fix bug in action=clientlogin

Change-Id: Ie844691acb35e8e923f6b4995f72c6b33b74e7ac

wikimedia/pywikibot-core,wikimedia/pywikibot-core,PersianWikipedia/pywikibot-core