Fixes ENTESB-2027: Secuirty+scaling breaks repository access