X-Registry-Auth, run, wait, error refactoring, encoding