Add set_password method required for the users API

Ticket:	#3834