Extensible authentication with event listeners, added service registry