tests: make the authorization retry tests pass the torture tests
pipeline: Fixed a NULL pointer dereference on OOM