Fix login when config file does not exist