Resolve DatabaseType with "FbConnection" as typeName

Database constructor with connection don't resolve the databaseType correctly.