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 lean on Editor role and are skipped when ran with memory stubs implementation.