Support for automatic authentication