Add support for external user authentication from other modules. @1h00