Correct the authentification procedure to allow external IP connection.