uclient-http: auth digest: Handle multiple possible memory allocation failures