Replace deprecated User::editToken with User::getEditToken (1.19)

Change-Id: Ic4fa2e491277552bfa5980f83a9b733ef14e6687