session: fix session check

Server can sometimes return OK, instead of YES