I can answare my own question. It'r related to the attribute that you store consent (and from 4.4 I belive) refresh token.
I was using a AD extendedattribute that was working before but doen't do that now, chaning to a E-dir stream attribute or AD attribute that can store in binary format
solves this error