Revert "#JC-1422"
Enabled optimistic locking for the JCUser entity. Added lock handling for the login action.

This reverts commit 01603277ed7312bf2bf4371e1683fad54d8dbe8d.