Fixed race condition that caused Authenticatee process to deadlock.

Review: https://reviews.apache.org/r/15138