Create model mixins for OAuth 2 provider