Fix issue where certain providers do not return the 'provider' field in the profile by using the query provider as a backup source.
Removed unused 'config' var.
Fix issue where certain providers do not return the 'provider' field #73
Updated to return an error if no providers are available.
Tabs to spaces, comma positioning
Merge pull request #73 from kbenjamin/master

Fix issue where certain providers do not return the 'provider' field