AMENDMENT NO. 5, WAIVER AND CONSENT to Amended and Restated Loan and Security Agreement dated as of December 20, 1996