CI: query_all_success uses auth; refactorings