Not sure on this answer, but we have received the same error based on same scenario.
I'm getting this same error on Tableau 9 Server 9.
Any way to resolve? I can publish the workbook to server with a scheduled refresh, but the refresh fails.
When I try to publish the workbook with a scheduled refresh, with an embedded password...that's when I get the Internal Server Error, DataSourceException error (image attached).