debug.appendTitle("Session");
if (authenticationSession != null) {
debug.appendln("user", authenticationSession.getUserName());
debug.appendln("roles", authenticationSession.getRoles());
} else {
debug.appendln("none");
}
final UserProfile userProfile = IsisContext.getUserProfile();
debug.appendTitle("User profile");
if (userProfile != null) {