python/samba: Fix incorrect encode of password