Fix some bugs with GAE requests.