'Verify getting a token with external authn.'

def test_scoped_remote_authn(self):

    body_dict = _build_user_auth(username='foo', password='foo2', tenant_name='BAR')
    local_token = self.controller.authenticate(self.make_request(), body_dict)
    body_dict = _build_user_auth(tenant_name='BAR')
    remote_token = self.controller.authenticate(self.request_with_remote_user, body_dict)
    self.assertEqualTokens(local_token, remote_token, enforce_audit_ids=False)
