Fixes #3458: Fixed the bug that the image rendered by `CaptchaAction` was using a wrong content type