C-sharp : Persistent authentication