Pass copy of kwargs to before_request