Add support for external authentication