[MacPlatform] Fix a bug in the new Keychain code

We need to handle empty usernames correctly. Add a test to ensure
that we do not blow up calling FindInternetPasswordAndUserName
when there is no username associated.