Limited consent and amendment No. 4 to CREDIT, SECURITY AND GUARANTY AGREEMENT (TERM LOAN)