FIFTH AMENDMENT, CONSENT AND JOINDER TO CREDIT AGREEMENT AND AMENDMENT TO SECURITY AGREEMENT