Global config moved to separate header file.

Added dynamic authentication units.