fixed #1992 the issue that use 'site/captcha' will get wrong refreshUrl in module scenario