SIP registration 401 Unauthorized

Hello,
I moved freepbx to the new server, just installed new version asterisk 1.2.13 and freepbx 2.2.2 and moved over all config from mysql to the new server, then regenerated conf files. Everything seems fine, but none of the SIP phones now can register. I tried Polycom, BVA box and soft phones, they all get the same SIP 401 Unauthorized. I created new SIP extension and tested it, got same problem. SIP conf files look the same like old ones. Is there something obvious I am missing. Here is sip debug:

[code:1]
<-- SIP read from 66.114.72.110:51676:
REGISTER sip:pbx.nj.org SIP/2.0
Via: SIP/2.0/UDP 192.168.0.120:51676;branch=z9hG4bK-d87543-042ab55d6106606c-1–d87543-;rport
Max-Forwards: 70
Contact: sip:[email protected]:51676;rinstance=2374b8da0c8543c2
To: "123"sip:[email protected]
From: "123"sip:[email protected];tag=f1669900
Call-ID: YTFmMzM3ODRmNjJiMGYwN2JhMGJlNjM4MzRkMTA1NjM.
CSeq: 1 REGISTER
Expires: 3600
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, NOTIFY, MESSAGE, SUBSCRIBE, INFO
User-Agent: X-Lite release 1011s stamp 41150
Content-Length: 0

— (12 headers 0 lines) —
Using latest REGISTER request as basis request
Sending to 192.168.0.120 : 51676 (NAT)
Transmitting (NAT) to 66.114.72.110:51676:
SIP/2.0 100 Trying
Via: SIP/2.0/UDP 192.168.0.120:51676;branch=z9hG4bK-d87543-042ab55d6106606c-1–d87543-;received=66.114.72.114;rport=51676
From: "123"sip:[email protected];tag=f1669900
To: "123"sip:[email protected]
Call-ID: YTFmMzM3ODRmNjJiMGYwN2JhMGJlNjM4MzRkMTA1NjM.
CSeq: 1 REGISTER
User-Agent: Asterisk PBX
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY
Contact: sip:[email protected]
Content-Length: 0


Transmitting (NAT) to 66.114.72.110:51676:
SIP/2.0 401 Unauthorized
Via: SIP/2.0/UDP 192.168.0.120:51676;branch=z9hG4bK-d87543-042ab55d6106606c-1–d87543-;received=66.114.72.114;rport=51676
From: "123"sip:[email protected];tag=f1669900
To: "123"sip:[email protected];tag=as46f45617
Call-ID: YTFmMzM3ODRmNjJiMGYwN2JhMGJlNjM4MzRkMTA1NjM.
CSeq: 1 REGISTER
User-Agent: Asterisk PBX
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY
WWW-Authenticate: Digest algorithm=MD5, realm=“asterisk”, nonce="57ebbe01"
Content-Length: 0
[/code:1]

Thanks a lot!