valgrind: unflake cache purging test

Fixes #569.
Merge pull request #570 from pagespeed/jefftk-fix-access-log-under-valgrind

valgrind: unflake cache purging test