Fix account creation with unset password
Correctly generate the password for new accounts

Signed-off-by: Tyler Menezes <tylermenezes@gmail.com>