Handle invalid JSON exception in ExternalServlet authorization.