Fixed compatibility issue in overridden SecurityController