The username and password should be the database username and password and not the team elements username and password.
Use the username and password that you used to created a database user account. That should work in iReports. And you can use the 'Test Connection' button to see if the connection works.
Hope that helps...
Ananth