Replace deprecated wfGenerateToken (1.20)

Change-Id: I70b9c106088e3ab2d300821dbe23cf714f2b9002