Fix bug with encript passwords