Use settings.py config file instead of SETTINGS dict in autologin.py