Prevent users from entering a new line in their password