fix(httpBackend): refactor of response switching

Fixes issue #4738. If response is undefined fallback to responseText.
Simplified over just amending previous entry.