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

Also adding some more functional tests for af.
well, sure... I don't see the downside of adding it.