Stored cookie using new login api.