authenticate($c, $realm, $authinfo)
Authenticate returns a user object if it likes the authinfo. This implementation likes the authinfo simply if it contains a DirectLink::Link under the key 'directLink'.
It will then go to the store to try and find the user object, first using the 'auth' attribute of the link, and if that fails, using the passed $authinfo parameter.