Fix authentication bug
mend