fix bug:can't set session when use token as sid