handle old-style session urls