use accessor to get session
Merge pull request #314 from owncloud/kill_oc_session

use accessor to get session