Added support for passing an alternate destination URL to redirect to.