Authentication now aborts correctly