'Convenience method so that we can test authenticated requests.
:param user: A dictionary with user information like \'username\',
\'password\', \'domain_id\'
:returns: urllib3.Response object'

def get_scoped_token_response(self, user):

    body = self.build_authentication_request(username=user['name'], user_domain_name=user['domain_id'], password=user['password'], project_id=self.project_id)
    return requests.post((self.PUBLIC_URL + '/v3/auth/tokens'), headers=self.request_headers, json=body)
