Changed secured repository class to prevent BCC issues

The new class will prevent issues with the BCC on ATG version 10.2.