removed url context alteration in token hook