fixing undefined var $res by accessing Configurator settings

Regarding this php warning:
PHP Notice:  Undefined variable: res in modules/Users/authentication/SugarAuthenticate/SugarAuthenticate.php on line 101, referer: index.php?action=Login&module=Users&login_module=Home&login_action=index
There is no variable "$res" anywhere in scope. The "lockoutexpiration" is a setting from config.php, i.e. Configurator.
This patch creates a Configurator and gets the settings from there.