Remove invalid characters from cfimap password