-Invalid authentication now simply returns an HTTP 401 response code.