def _GetNewLogUrlAndVerify(self, request_dict, log_body, content_type, content_md5):
    response_dict = self._SendRequest('new_client_log_url', self._cookie, request_dict)
    url = response_dict['client_log_put_url']

    headers = {'Content-Type': content_type}
    if content_md5 is not None:
      headers['Content-MD5'] = content_md5
    response = self._RunAsync(self._tester.http_client.fetch, url, method='PUT',
                              body=log_body, follow_redirects=False, headers=headers)
    self.assertEqual(200, response.code)
Returns a user dict based on auth_id and password.
dataset/ETHPy150Open viewfinderco/viewfinder/backend/www/test/new_client_log_url_test.py/NewClientLogUrlTestCase._GetNewLogUrlAndVerify--crossover with--dataset/ETHPy150Open AppScale/appscale/AppServer/lib/webapp2-2.3/webapp2_extras/auth.py/AuthStore.get_user_by_auth_password