Optionally load auth modules. Throw error if missing.

This avoids loading of unnecessary modules.
It is trivial code. Further lazy-loading
becomes non-trivial and error-prone.