use https adapter in auth