Fix issue #18
Some hints on generating the authenticate challenge