BUG Fixed issue with locale not being set correctly during Security actions