[BUGFIX] Captcha Not Working

Removed outdated TSFE function getTemplate() when it's not neccessary

related: #63972
[BUGFIX] Captcha Not Working

Small refactoring of the CalculatingCaptcha Class for automatic tests

related: #63972
[BUGFIX] Captcha Not Working

Unit Tests for CalculatingCaptcha

related: #63972