reset some properties before logon. fixes #19