Addresses #6579 Disallow vault passwords with newline characters by stripping them in utils