make authinfo to token for checksession