HTML5 required attributes on default fields, add validator to the login form

Intention is to make designers' and frontends' lives easier. 

This is the best fix we could find that does not require rewriting form and validation API.