Of course you can, but I am afraid that it may be server specific. Could you just iterate over your password and check what exactly creates an issue? (Set password to the mail account to simpler version of your password, and check if roundcube will connect - e.g. replace all special chars with zero)
Regards,
Adam