Fix service problem with only credentials
Add tun0 detection in the service