fixes notification for invalid credentials