Improve usage of global state in UpdateRepoOnMoveJob

Change-Id: I01465e076d9154b8eec5dcf085cb57c5797e3394
Use new way of getting a token from the API

https://mediawiki.org/wiki/Requests_for_comment/API_roadmap#Token_handling

Change-Id: I7a2c770761e03d99edf9e282ce2501d602c578f5
Merge "Improve usage of global state in UpdateRepoOnMoveJob"