Move authentication options to a config module.