Test variant of authenticate