$wgAuth = new HttpAuthPlugin(); - After this line, control is not reachin the next line, not printin the next log.
error_log("JITEN TEST :WGAUTH object created, Value of wgAuth is :" . $wgAuth . "\n", 3, $logfile);
$wgHooks['UserLoadFromSession'][] = array($wgAuth,'autoAuthenticate'); error_log("JITEN TEST :Value of wgAuth is :" . $wgAuth . "\n", 3, $logfile);
In the above case the code after $wgAuth = new HttpAuthPlugin(); is not getting executed.