Support for different authentication database