Social login support

PR only to discuss proposed API