Form: make requiredDOMElements optional
AuthenticationForm: inherit from Form
AuthenticationForm: test: less flakiness
PasswordRecoveryForm: inherit from Form