Add oauth2 support using doorkeeper

This is mainly to enable agra org admins to attach new or existing prague accounts to their agra organisations.