work properly with non-root spree engine mounted configurations
fix for https
fixes