Fixes #8393: added support for basic auth for standalone registries