Update login function to use current persist code if one exists. (Allows multiple concurrent logins to the same user.)
Add a function to forget persist code during logout.