Allow ftp for GALAXY_TEST_DB_TEMPLATE and stricter check for protocol URL prefixes.