To stop the login box from appearing, go into the Windows ODBC Data Source Administrator, select your data source, and click configure. Click settings and set the 'prompt for login' to 'never', Use the OK button to save this change and exit ODBC Data Source Administrator. This will stop the login box from appearing.