Bug fix: save password