Fixed issue with UserDao not fetching passwords when needed for authentication.
Refactoring almost complete. GET /tournaments works correctly now, including test.