Added Portal interaction to oauth login.