EXHIBIT 10.59 AMENDED AND RESTATED ACCOUNTS FINANCING AGREEMENT [SECURITY AGREEMENT] DATED AS OF JUNE 1, 1997