BRANCH:4.2-sp816: added error handling for config file parsing in web_wd...

...g.py when trying to check the number of login attempts.