Added session cookie domain setting

Added configuration option to set the session cookie domain.