Changed sessions to *truly* allow test server for encode