Do not use GET authtoken;add expirationto cookies, getcookie API