Fixed urlencoding of OTRS-IDs

This fixes bug#10458 - Can't use system registration with some OTRS-IDs
http://bugs.otrs.org/show_bug.cgi?id=10458