Use escaped password in sql query