Added support for redirectUrl query string parameter.