[logout] Fixed property access

WebContext::disconnect never thought a user was connected, since it was testing an undefined variable.