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.