Changed password encryption to align with openfire and removed unused locale