wpf login logout small unit tests