Fixed empty password bug