Password needs to be a string

Ticket:	#5299
(cherry picked from commit ad5b380f4600ffdee7e9f3ca0115fc51e095cc39)