Implement accout login support via the accountname METADATA command

This is used to automatically identify users after netsplits or when
services are restarted.
Plug memory leak