CDB-2079 #fixes disable statsc when public_map loading though https
Merge CDB-2079 into release/2.12.0