[IMPR] Print login status to log file if 'badtoken' API error occures
[IMPR] Print login status to log file if 'badtoken' API error occures

Bug: T261050
Change-Id: Idf69faf2fdb4e77242bd76bbfd97f4c40f28e99a

wikimedia/pywikibot-core,wikimedia/pywikibot-core