modify `expires` option from minutes to milliseconds