Added Tests for detectAuthDriver().
The class still needs errorhandling if a wrong default_provider is set.