Test - As a user, I can sync from registries that use basic auth
CLOSED - WONTFIX
Parse 401 WWW-Authenticate response header to find out if the scheme is basic or token.
Sync from different registries with basicauth.
This pulp2 ticket might contain more info https://pulp.plan.io/issues/2956