How to get Android CBLite client to store session cookie

I setup my own authentication endpoint as per the directions here http://docs.couchbase.com/sync-gateway/#custom-indirect-authentication . It doesn’t seem like getting the cookie using a DefaultHttpClient sets the session globally and I tried using the Httpclient that CBLite uses but that seems to do it’s own thing (it prefixes cblite:// to every url).

Is there any guideline for authenticating using the custom authentication option using the client library (I’ve already setup the serverside and that seems ok)