Add method to refresh user session token on logout
App and Site: changes to handling of session tokens on login/logout for better persistence across multiple apps
App: fix incorrect logout when loading cached reference data