corrections in anonymous and authenticated tests for old count method
Merge branch 'issue-query-perf-improvements' of https://github.com/PyBossa/pybossa into issue-query-perf-improvements