Tests: Remove bogus check in check-session.

Must be some refactoring stain that magically managed to not cause the
test to fail.