Add sessions, authentication and smtp options to config system.