Fix for #9422
Add public interfaces for User, UserManager and UserSession
Expose the user manager in the public server container
Dont delete versions as local files
Remove deleted versions from the cache