Added configurable service path and session cookie name.