fixed secrect hashing to match what the rest api expects
Merge pull request #111 from nightscout/wip/secret-hash

fix secret hashing to match what the rest api expects