fixed credential manager so that it accepts special chars