Updated mock backend to handle all E2E $http responses.