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
Merge pull request #1 from deetch/patch-1

Fix for handleUpdateMachineAuth