(WIP) Replace erlang cookie fact with type and provider

Alternate proposal to #278