The link is inside the subscription/unsubscription texts on newsletter configuration, there is not such value into the database. Of course you should check the wordpress general setting to see if the domain is correctly set.
Your problem is common. Usually I setup a test site with tst.domain.com. The I dump the database and I change the tst. with www.
Stefano.