Added support for nonce parameter in URL creation