JOINDER AGREEMENT, CONSENT, WAIVER AND SECOND AMENDMENT TO CREDIT AGREEMENT