Simple, secure and social module for client-side interaction with OAuth-based APIs