fixed bug with SkipLogin option

the demo was freezing because it was not reading in the SkipLogin
option correct. Also the SkipLogin option was not persisting correctly,
and was not actually skipping past the login dialog.