Merge pull request #95 from akkie/master

Tests for Foursquare provider
Implementation of a more generic authenticator to address issue #49 and #96