Added support for success_url in querystring.