Revert "Remove secure ID check"

This reverts commit 182a574ffebcc3f6479fc254817a20fb7ecb5f77.
Revert "Removed server seed check"

This reverts commit 12a1416b00a95a3770045894f8ac5c9a74d6e1eb.