Mysql persistent backend

I think the user id has a max size. So we should cap this encrypted user id field also.