look for registry-specific auth

Also clean out some of this lint.