Authentication fix in task reconciliation test.

From: Niklas Nielsen <nik@qni.dk>
Review: https://reviews.apache.org/r/14622