authenticate: empty user/password bugfix

When pass an empty user/password the callback must be passed with an error. But it's not defined.

Creating an error object based on http://technet.microsoft.com/en-us/library/bb463166.aspx