BRANCH:4.2-sp816: added error handling for config file parsing in web_wdg.py when trying to check the number of login attempts.