Hacked extension to UserSessionModel so that user id can be obtain directly so
org.keycloak.models.session.PersistentUserSessionAdapterで実装されています。