Rework the invalid argument for init sec context exception