Add session support and insecure authentication