No, that simply checks the allowed referrers for making posts or pm's... basically, form submissions. It has no effect on the login process or cross domain cookie issues; which is more a security issue with the webserver than anything else...
Fix would be to force users to either use www or no www via a .htaccess referrer trick (I think I posted one in the faq forum)