Fixed a bug that appended additional separator on last word as well as not append the entire password for the final word.