[Mediawiki-api] Designing coockie-less login for API