AuthN bug fix