Identity Provider

Add an identity provider interface to state and an implementation for agents. User, Unit and Machine tags use the AgentIdentityProvider to authenticate.
hang on, you just parsed c.AuthTag, now you're using the old unparsed version ?