South Carolina's tax collection agency will receive a $20 million loan to pay for the state's response to the hacking of millions of taxpayers' personal data.