Fix EZP-21278: [Rest API] Get current version with anonymous user spec don't correspond to behaviour

This PR resolves issue https://jira.ez.no/browse/EZP-21278