'Convenience method so that we can test authenticated requests.'

def get_unscoped_token(self):

    r = self.admin_request(method='POST', path='/v3/auth/tokens', body={'auth': {'identity': {'methods': ['password'], 'password': {'user': {'name': self.user['name'], 'password': self.user['password'], 'domain': {'id': self.user['domain_id']}}}}}})
    return r.headers.get('X-Subject-Token')
