vpn: Set authentication failure error code properly in provider