template authorization and authentication

Add parameters class
Allow setting authentication and authorization (my motivation was change passwords) independently

Spec tests verify everything present before is the same as now - non-breaking update.

If this type of config is wanted I'll do the memory and transport settings as well, if not, feel free to just close it.