FOURTH AMENDMENT TO AMENDED AND RESTATED CREDIT AND SECURITY AGREEMENT AND WAIVER OF DEFAULTS