Fixed connection issues due to security manager