Include base_dir in session namespaces.