parseInt in setCookie to convert the expiry dates to Integers.