fix getAuth for DS queries at apex