Allow per-transaction setting of user id and key