Using HTML5 validation to validate password fields