[DO NOT MERGE} added support for basic auth for standalone registries