removed language locale var from authn. hook.
removed $lang var from all view templates.