Improved guest user handling for servlet