Added null check to prevent NPE when user quits out of login dialog.
Authored by: jimwinston 2009-05-15
Parent: [r458]
Child: [r460]