Ask for password on attach/detach/resume
Remove user password logic

it was obsoleted by Authenticate()
Remove unused variables left after previous changes
remove another one
encoding.c - start with simple stuff
Remove mbcs (it was define DW_WIDTH on upstream)