Method-1: First Check the Timezone in Settings > Store. Make sure you set to UTC.
If you need to change it back you can in the SQL table “oc_setting” column “key” value “config_timezone” in the “value” column change it back to “UTC”
='UTC' WHERE key
If still issue, follow below method.
Method-2: You need to set your php time and mysql time the same. its deleting cookies to soon. You can fix this.
$_[‘session_engine’] = ‘db’;
$_[‘session_engine’] = ‘file’;