log auth errors correctly