Add methods to SessionFactory to support workspaces and http authN