Fixed overzealous type hint on set-authentication, should accept proxy or remoterepository