Apply Foundation form validation to sign in, create account and edit account.