A couple of things to try. Assuming your logon name is the same on virtual Windows and Ubuntu, try setting the same password on Windows as Ubuntu. Alternatively, set up another Windows user with a password for use when connecting the Shared Folder.
Incidentally, from the VirtualBox User Guide:
12.3.8 Long delays when accessing shared folders
The performance for accesses to shared folders from a Windows guest might be decreased due to delays during the resolution of the VirtualBox shared folders name service. To fix these delays, add the following entries to the file \windows\system32\drivers\etc\lmhosts of the Windows guest:
Code:
255.255.255.255 VBOXSVR #PRE
255.255.255.255 VBOXSRV #PRE