The Southern states did not deny that Lincoln was in fact the rightfully elected president. Rather, they wanted out just because he was. Democracy would oblige them only to acknowledge Lincoln's authority had they chosen to remain in the Union.
http://lewrockwell.com/gordon/gordon108.html
Secession is a moral right.