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

Also adding some more functional tests for af.
remove.