[Misc] Fixed LDAP test which was caused by the addition of the new API: XWiki.getDocument(EntityReference,...) in commit https://github.com/xwiki/xwiki-platform/commit/4614bac17fecc8667f554b49ca3ac3f2acf51fa1
 + added @Unstable annotation to this new API