BUG-14775 addition of flag that enables password policies when logging user. IMPROVEMENT.