Bugfix when editing profile without password.