split out service discovery into separate module
set default authentication method