Use $ttl for cookie expiration (Issue #457)