Use sha512 as authentication hash function
Merge pull request #1039 from camptocamp/sha512-auth

Use sha512 as authentication hash function