Fix horrifying stack overflow error that only happens on firefox, add logging when we silently log in and hide some type checking functions defined in loggingInit.js so angular doesn't accidentally use them.