Add optional time parameters instead of using local time when signing cookies