Save cookie from login result.