Detect if user doesn't have rights
Detect if user doesn't have rights

Following tests detect if user doesn't have rights and do not raise
exception:
site_tests.TestSiteTokens.*
site_tests.TestSiteObjectDeprecatedFunctions.test_token

Bug: T85353
Change-Id: I5d07fffac0cf3dc8161564b555d60d8d1a21a7e0

hasteur/g13bot_tools_new,icyflame/batman,PersianWikipedia/pywikibot-core,emijrp/pywikibot-core,wikimedia/pywikibot-core,Darkdadaah/pywikibot-core,jayvdb/pywikibot-core,trishnaguha/pywikibot-core,xZise/pywikibot-core,hasteur/g13bot_tools_new,darthbhyrava/pywikibot-local,jayvdb/pywikibot-core,happy5214/pywikibot-core,TridevGuha/pywikibot-core,hasteur/g13bot_tools_new,Darkdadaah/pywikibot-core,h4ck3rm1k3/pywikibot-core,npdoty/pywikibot,magul/pywikibot-core,smalyshev/pywikibot-core,magul/pywikibot-core,npdoty/pywikibot,valhallasw/pywikibot-core,happy5214/pywikibot-core,VcamX/pywikibot-core,wikimedia/pywikibot-core,h4ck3rm1k3/pywikibot-core