Keychain.modifyPassword() fixes

Fixed ctypes memory issues with Keychain.modifyPassword() that were
causing massive total existence failure.