If you need to authenticate to your SMTP server then currently you'll need to edit the libs/phpmailer/class.phpmailer.php file. In there you'll see a section dedicated to SMTP variables, a couple of them being SMTPAuth, Username and Password

As for the session state. I'd try manually clearing out any cookies from your site. It could be an older cookie before the move causing problems.