Переместил. После прочтения статьи код выглядит так:
require_once "Auth/Auth.php";
$a = new Auth("DB", $params, "loginFunction");
$a->start();
if ($a->getAuth()) {print ("logged in");} else {
print ("not logged in");}
if ($a->getStatus()) {print ($a->getStatus());} 
error_reporting(E_ALL); 
ini_set(\'display_errors\', \'On\');
function loginFunction()
{
    /**
     * Change the HTML output so that it fits to your
     * application.
     */
    echo "";
}
$params = array(
            "dsn" => "mysql://$pass:$user@localhost/$dbname",
            "table" => "autha",
            "usernamecol" => "username",
            "passwordcol" => "password"
            );
print_r($_SESSION);
?>