Minor tweak to testlog endpoint to validate session_id.