Protection from null or whitespace passwords

- Added null or whitespace checks for new passwords in account and
profile views.