CONSENT, WAIVER AND AMENDMENT NO. 1 TO CREDIT AGREEMENT