Just a thought here: Maybe modifying the plugin on a way that it checks the username for numbers and if it is all numbers, then first tries it, otherwise it assumes it must be a ticket number and not a username. That's the approach how I would trying to solve this.
And when it's solved propose that change as pull request over at github.