Add validation to the authorities forms

Verified on 501-create-authorities-page branch.
We need better error messages for validation authorities form

  • unknown user (unintelligible message) image
  • Too long account name (better message needed) image
  • Incorrect key (better message needed) image
  • Too short key (better message needed) image
  • Too long key (better message needed) image
  • Signing authority changes with the wrong key (better message needed) image
  • Unnecessary zero when clearing input and entering new value image
Edited by Adam Kociubinski