Thanks Martijn.
AUTH_HTTP is set to true, and I got around it simply by setting the following in config.php :
session_start();
if(isset($_SESSION["username"])){
@define ('NAME', $_SESSION["username"]);
}
Works a treat. A great simple-to-use board !