Remove mongo user repository

Remove the `UserConfigRepository` class and all code that references it.

The feature flag keeping the legacy code active has now been switched and seems to be working well. This pull request removed the now redundant code.

Part of this pull request includes quite a lot of refactoring in the `StagecraftService` used by the feature tests. This includes writing tests for it.