Fixed resetting preferences from .fdbsqlclirc

bug fixed, test added