Added support for OctoPrint authentication

This pull request added support for OctoPrint authentication. Simply login with OctoScript and then all the other commands will use the generated cookies.txt file. If cookies.txt if empty then OctoScript will operate as if OctoPrint has authentication disabled.