Revert "Revert "Moved security utils to weblounge-common" since this breaks the API, commit is still in branch r/3.2.0" because code is already in use

This reverts commit b32f26a8c45d26726399a452e3e3220bb4ef8730.
Re-added to restore API compatibility

Class marked as deprecated, can be removed after next major release