CORE-4835: fixed a problem that was preventing the agave callback endpoint from working correctly