[security] Pre-selects the first available database in Hive