// Drop cache so we can be sure to be up-to-date with the backend
// database
// (Since backend changes - maybe from other cluster nodes - are not
// registered for user profiles)
userProfile.dropCache();
session.setAttribute(SESSION_PROFILENAME_INDIVIDUALDB + database.getDbReference(), userProfile.getName());
TMLUserProfile tmlProfile = new TMLUserProfile(userProfile, getCore());
request.setAttribute(WGACore.ATTRIB_PROFILE + database.getDbReference(), tmlProfile);
this.registerSession(userProfile, request, session, created);