Change User.login to send include=user by default.
Implement User.getCachedCurrent().
User.isAuthenticated and User.getCurrentId

Add public API for accessing the persisted id of the current user.
Add a public method to check whether the current user is authenticated.