Added new config variables as example.
Added session cookie params handling