Fix timeout in couch auth test

The test was racy. Use test_util:wait/1 function there just like other
places like couch_index_compaction_tests

Fixes #724
1 file changed