Don't start the session when in cli mode
Merge pull request #3026 from owncloud/cli-no-session

Don't start the session when in cli mode