[IMPR] derive LoginStatus from IntEnum
[IMPR] derive LoginStatus from IntEnum

Removing name class method might be a breaking change
but I think this is never used elsewhere and can easily
replace by the IntEnum name attribute:

 Instead LoginStatus.name(0) you may use LoginStatus(0).name

Bug: T213287
Change-Id: Id92f64671bde4c19463f516e1f273a8d33c67dcb

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