Both versions are technically correct, since "need" can be used as a modal (not "model") verb. As a matter of style, the second version sounds better; I've normally only ever heard the modal version used in the present tense.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.