(Re)added shard awareness for Basic Authentication