What happens?:
For example NeedRightsMixin can be used to ensure that needed rights are given during tests but the needed rigths can depend on the fqact that a user is logged in. Unfortunately the RequireLoginMixin is placed later in the mro so that the rights does not reflect the right situation after login is made. Currently NeedRightsMixin is mostly senseless.
Software version
Pywikibot 7.7.1: rPWBCd87931a