Raise exception on Authentication error