Physics potential of ESSνSB in the presence of a light sterile neutrino