Working on native session.

Signed-off-by: Ben Corlett <bencorlett@me.com>
Tweaking cookie test.

Signed-off-by: Ben Corlett <bencorlett@me.com>