An unsecured police dashboard was a rare window into how the authorities track foreigners by collecting and aggregating vast amounts of private data.