AMENDMENT NO. 6 TO CREDIT AGREEMENT AND CONSENT AND AUTHORIZATION RELATING TO SECURITY DOCUMENTS