split console OR logic into two if statements to handle javascript error...

... in older browsers

This came to me as a bug ticket at Oregon State University. Using CAS in IE8 did not focus in the username field, and instead focus was in the search bar and there was a javascript error. I believe this is due to the older browser not making the console available until development tools have been toggled at least once. I replicated the bug with IE8 .0.7600.16385 on a win7 vm.

The previous if block did not handle the case of !window.console returning null or undefined.

The JIRA issue number is CAS-1277
https://issues.jasig.org/browse/CAS-1277