Add support for multiple authentication factories