Updated to use details as an object, as the retrieval from a cookie, converts into object through json_serialise
Allow DBAuth to pull in and auto set additional fields, based on configuration
Fixes T137