fix for issue 'signature is not canonical' error message #509
minor changes mostly related to account registration