Add test broken csrf validation by di
Fix FormElementManagerFactory break csrf validation (in Mvc)
Merge branch 'hotfix/4426'

Close #4426
Merge pull request #4425 from noopable/hotfix/fail-csrf-element-validation

Fix FormElementManagerFactory breaks csrf validation (in Mvc)
[#4425] Removed DI-specific code

- No tests for that functionality, and implementation felt like unneccessary
  coupling between Form and DI.
Merge branch 'hotfix/4425' into develop

Forward port #4425