fixed handling of strange characters in username and password for trac