port old style getProvider to new style to make last aggregator tests to work
port old style getProvider to new style to make last aggregator tests to work

NORDUnet/opennsa,NORDUnet/opennsa,NORDUnet/opennsa