fixing issue in validating response signature: empty -> !== null instead