Fix EZP-20223: Implement missing integration tests for Repository

This PR resolves issue https://jira.ez.no/browse/EZP-20223

Tests for ```hasAccess()``` and ```canUser()``` requiring limited permissions are skipped when ran with memory stubs implementation.