[PLINK-398] JDBC STS registry not working under jboss 6/7 and Oracle

Preserves backwards compatibility with the current JDBC registry.