Added automatic saving and restoring access credentials for OAuth and OAuth2 services
Little optimization
Added Foursquare and Instagram services