Add cookie managment to BMLibrary and InstitutionProvider