fix losing site password on class-reload