Fixes #2740

Fixes `CaptchaAction` bug using obsolete `createUrl` method.