(refs #3513) set sender api user in message search API.