just create a windows service for your mining software and you don't need to login anymore at all

There are a couple of software out where you can convert a normal exe to a windows service (yes also with paramters)
Most GPU miners do not work when started as a service.