Fix EZP-21035: User can not be properly created from inside storage

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