Fix bug on logincCas