Fix issue with PHP sessions in production environment.