Soldiers in an Army intelligence unit inspected the terms of an app their commander ordered them to download. What they found could be compromising, soldiers said.