Fix authentication issue with adapters