Fix target logon parameters length, based on UTF8 char length (instead of number of bytes)