Merge pull request #13101 from owncloud/variable-is-undefined-please-use-a-proper-ide-in-the-future-whoever-did-that Fix undefined variable and write unit tests for OC_Principal connector