Fix for handleUpdateMachineAuth

handleUpdateMachineAuth didn't sha1 has the random data the server sends,
Now the hash of the sentry file should be calculated correctly