Loading indicator only on sign-in form submit

When email field is not valid, html5 validator prevent form to submit, and sign in button will be stuck on loading.