To Disable / Enable auto-login links on invoices
In the CMS go to the notifications area via ECOMMERCE > NOTIFICATIONS > Customise Notifications.
There is a section on this page ORDER SETTINGS where this can be changed. Change to HIDE LOGIN LINK ON EMAIL NOTIFICATIONS if you do not want the auto-login links.