Encrypt/decrypt UPS password in the model level

Ticket:	#6929