Add error to model when authentication fails