Fix bug:register password empty