All login should work in the sample, which login did you select (D/W/B)? Did you write correct Server address (URL) as the dialog box login?
Did you modify the sample? Did you verify that the same user, same password (on the same PC) can login using Smart Client? A guess could be if you supply basic user credentials but uses a Windows user.