hack to make mydb-expose work without connect session middleware