Character animation z-axis rotated after import from Mixamo

I have imported an animation from Mixamo using this tutorial:

Everything is fine except one thing, the character is rotated 90 degrees. What’s weird, is that when I apply this animation to default UE mannequin, it works fine. So the issue occurs only when I apply it on my character. What might be the issue?