Clean localhost password for empty string