login,logout,identities: destroy session + create new when migrate/rollback identity. login fix.