Fix byte-order dependency in calculation of initial challenge

Fixes: #7977
Signed-off-by: Dan Mick <dan.mick@inktank.com>
Reviewed-by: Sage Weil <sage@inktank.com>
doc/release-notes: v0.79 release notes

Signed-off-by: Sage Weil <sage@inktank.com>