UAC interface rework

The low-level user interface to the UAC functions has been heavily reworked. Now it is more consistent and simple.

Tests basic, auth, register and invite are working.
Tests proxy and fork are yet pending.