[ticket/11620]  Refactored check_isvalid_test to use session_test_case

Since the continue->isvalid refactoring is now in a branch with the
session_test_case framework, this test can be refactored to use that framework.

PHPBB3-11620