NEMO-1838 Fix setting current_database_name which seems to be used by rspec a lot.