Move the backend setup for User&Group to the getManager functions.

Move the backend setup for User&Group to the getManager functions. It should keep working the same way, but the backends are loaded a bit later in the code execution.

@blizzz it should still work with LDAP, but can you check?

@karlitschek @DeepDiver1975 @butonic @icewind1991