Prevent hasing of empty string passwords