title: CookieManager not saving cookies
body: <p>When I execute the following code:</p>
  
  <pre><code>CookieSyncManager.createInstance(activity); 
  CookieManager cookieManager = CookieManager.getInstance();
  cookieManager.setAcceptCookie(true);
  
  webView.setWebViewClient(new WebViewClient() {
      @Override
      public void onReceivedHttpAuthRequest(WebView view, HttpAuthHandler handler, 
                              String host, String realm) {
          Log.d(Utils.TAG, "There are cookies: " + cookieManager.hasCookies());
          handler.proceed("user","pass");
      }
  }
  webView.loadurl("https://...");
  </code></pre>
  
  <p>On JellyBean I get <code>"There are cookies: true"</code> while on Gingerbread I get <code>"There are cookies: false"</code></p>
  
  <p>It seems that on Gingerbread the cookies (one in this case) are not saved by the webView, thus the web page refuses to log me in because the cookie is not passed in the headers during authentication.</p>
  
  <p>The same happens when using <code>CookieSyncManager</code>.</p>
  
  <p>Also I don't know it it can be relevant but the code is executed by a Fragment using the <code>Android Support Library</code>.</p>
  
  <p>Has anyone had this problem before?</p>
  
  <p>Thanks.</p>