SHA512 password before sending to API; assert password length of 4 characters minimum

resolves #14