Only set session options when running inside a container (TORQUE-1013)
context paths must start with a "/" in service names