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