WASHINGTON—The White House and Secret Service were trying to figure out Wednesday how a National Security Council contractor was able to keep working in the highly secure presidential compound for ...