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

Change-Id: Ic9b584fe2e53be25c70058735a24ca9de7c2dbd5