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

Change-Id: Ic11279ba25a3f29dc77e5050b653bac336038ecb