Fix JNDI lookup bug where properties were not being passed through.