php_flag session.auto_start 1
This question has been answered by pkorsukov. See the first response.
update modx_context_setting set `value`='http://localhost/en/' where `context_key`='web' and `key`='site_url'; update modx_context_setting set `value`='' where `context_key`='web' and `key`='session_cookie_path';
RewriteRule ^(en/)?(.*)$ index.php?q=$2 [L,QSA] php_flag session.auto_start 1