CORE-5719: added a way to determine if Agave is unavailable
CORE-5719: only return error messages indicating that Agave is down if necessary