fix test
actions: init context on appcontext_pushed, not in before_request

signal is always called, and early, whereas before_request may be bypassed if
url is wrong or an url_value_preprocessor raises an http exception.