QA-4433 : encode user name in sql query