Make it possible to pass dynamic redirect url as query parameter