added cookilifetime for appfog (important add-in)