Introduce newtypes for Token and Secret
Rename PathPart to PathParts
Renaming local function isProtected to needsProtection
Adding some haddocks.