fix a bug about token expire test