handle exception in crypto.timingSafeEqual when checking token GitOrigin-RevId: ba23aa4d4fe1e212c776965c0a58a90ecd846052