For those not wanting to enter their user id and password in Windows every time the start Octoprint, you're welcome to use this freeware program I wrote - https://www.aformfiller.com/
I haven't had to update it in over a year and a half, but it still works fine with W10.
In the keys to send field, just enter:
{!}{!}{!}{!}xxx{TAB}yyy{ENTER}
where xxx is your user id, and yyy your password.
Alternatively, if you have a Google Home, you can use another program I wrote - www.push2run.com to start Octoprint with your voice, however its a more involved to set up initially. For it, the keys to send are:
{wait999}{enter} {wait999}xxx{TAB}yyy{ENTER}
again where xxx is your user id, and yyy your password.
Hope this helps
and PS: before you ask - no, sorry, I don't have a version for the Mac.