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.
If the constructor is marked ```deprecated```, it will be removed in a future version: I would not use it anymore...