Add support for configurable session directory