As someone already mentioned; you'll have to uncheck both checkboxes on the login page, remember username and hide username. This is a limitation of the bot, not the script! If you run into any further issues, don't hesitate to let me know.
I have written a custom break handler which will take you to a safe position ~2 minutes before a scheduled break starts. This ensures that you're safely out of combat before trying to log out. When you log back in, the script will resume as normal until your next break occurs. It is worth noting that, if you use the 'force attack if crashed' mode, you may end up crashing someone else when you log back in from a break.
Let me know if you have any further queries!
-Apa