Fix missing profile on logout agent_state entry