Fix for  detached network on device creation using access keys