Hm, I'd rather we fix `auth.resolve_config` and `auth.encoude_header` so that they don't raise a KeyError.  They should be able to handle the absence of authconfig