Add option to compute userdb groups before macros (#1877)

4 jobs for feature-1877-macros-after-groups in 16 minutes and 10 seconds (queued for 2 seconds)