1) I highly suggest, looking online for "5 year old development and emotional development."
That way, you have an idea of what this age goes through.
2) My son is 5. He is a good kid. But at this age, it was like you said with your daughter. We are very close... and I have always nurtured a relationship with him... so because of that, when he is cantankerous, I tell him "You know better. You can tell Mommy your feelings, but not in that tone of voice." Then, I give him a chance to try again. I tell him "Redo that...." Then I wait and do whatever I am doing. And he will usually think... then say it in another way. Or if something is bothering him, I do allow him to tell me. I like for my kids to be open with me. But I tell my son about tones of voice. And wording. Kids this age, STILL need to "practice" and be taught ALTERNATE ways of saying things. Or role play with your child. To give them alternate ideas of how they CAN say things. Instead.
This usually works for my son.
And sometimes he is just frustrated or tired. So I have taught him to TELL me that. Using different tones of voice. And it helps. Because, kids are not rocket scientists about these things. It is taught. And along with any punishments or discipline you may use to curb it... you ALSO need to... show and teach the child, HOW they can also speak. Or what words to use, instead.
3) Then once you do have your baby and baby is home. I would BEFORE hand, talk with your daughter. Tell her that you are there for her... come up with a "special" word or signal that she can do with you in order to tell you things. A child, does not instantly "grow up" just because they are the "older" sibling. They are still young themselves and going through their own age-related issues or phases. But so, convey to your daughter, before baby comes home, that you and she are special always... and she can tell you things even if Mommy is busy with baby etc. They need to know, how they still fit in, with you. And Mommy is their rock. But they need to know that everyday. I did that with my daughter, before I brought my son home. My daughter's little brother.
Convey to her, that even if she is "grumpy" or "happy" or "frustrated" or just tired... she can tell you. And practice with her.... how she can speak/the words to use/the tones of voice. Make it fun. Not in a scolding manner.
That has always helped my kids. Who are now 5 and 9.
4) Also, be careful of your "expectations" of your Eldest child. Keep expectations age appropriate. Otherwise, Eldest children can sometimes have a lot of stress or frustrations, because they are always expected to be "perfect" or to act more mature than they really are and per their age. My daughter, when I had my son, her little brother... she once told me "Mommy, I'm just a little kid myself! I'm not a grown up!" Even if I regularly spent time with only her and talked with her often. But just being the "oldest" while she was still only 4 years old herself... she got frustrated.
And, kids this age, do NOT have fully developed deductive or inductive reasoning. They still need Mommy, to guide them. And they are not experts at making choices. But they need to be guided... and talked with, and role play.