Make admin export handle sessions