This may be caused by a bug in Oracle.
One way to work around the bug:
1. In the ORA_HOME\network\admin\sqlnet.ora file there is the following line:
SQLNET.AUTHENTICATION_SERVICES= (NTS)
Comment out this line by including a # in front of it.
2. Reboot the machine. This should take care of the problem.