I did not change it back to true. The reason I had to set that flag to false was because setting it to true it would fail too many times and then turn off the docker container not allowing me to access the console. I could also get to the web UI before I ran the code. After running the code snippet with all the proper connection data through the console I was able to get it to allow me to log in.