CASC-225 Restore Removed Constructor for Backwards Compatibility

Problem: We removed the two string constructor which breaks Spring Security compatibility.
Solution: Add it back as deprecated so that Spring Security can upgrade.
I know but until we force everyone (in say a 4.0) to move to providing a connection factory we still need to use the old ones when there is none.