user: Fix variable replacement for %{ticket.user}

Fixes #960