Hassan Gouled APTIDON installed an authoritarian one-party state and proceeded to serve as president until 1999 .