Properly display login/logout errors.