AF Cookie should be reused within the context of same request.

Also adding some more functional tests for af.
Assert == null, not If