A journalist's account of being added to a chat of U.S. security officials raised questions about how sensitive information is supposed to be handled.