Set session class loader for query conf and rewriter's query conf