(WIP) Replace erlang cookie fact with type and provider

Alternate proposal to #278 
should this have the path for PE?