**Describe the bug** https://github.com/spring-projects/spring-security/blob/a44a490f9e4b196a2c7cfe13bbc907006d115543/web/src/main/java/org/springframework/security/web/authentication/ui/DefaultLoginPageGeneratingFilter.java#L451-L456 **Expected behavior** ``<div>`` tag is closed with ``</div>`` and not with ``</form>``