Core: repaired facilitiesManager.getAllowedUsers

- the method now returns list of unique users
- the test for uniqueness written