Replace user123 and pass123 with your real username and password:
/server add freenode us9.ircnow.org/31337 -ssl -username=user123/freenode -password=pass123 -autoconnect /connect freenode /save