fix session renew issue.

when deployed in apache and mod_wsgi, the default cookie_value is not
correct. An optional solution is set
'web.config.session_parameters['cookie_path']' before using session.