[Mediawiki-api] Error on action=query (trying to get edit token)