THIRD AMENDED AND RESTATED CREDIT AGREEMENT, dated as of May 17, 2001