Finance Secretary Carlos G. Dominguez III has directed the government’s two main tax agencies to further fortify their respective systems against hacking and other cyber threats amid increasing number of scams perpetrated online against financial consumers.