fix issue #1492: invalidate dynect session on ip mismatch

fix issue #1492: invalidate dynect session on ip mismatch