[FIX] Add missing loginlib functions required for user conditions feature [partial bp/r49174]

git-svn-id: file:///var/local/code.tiki.org/tikisvn/branches/12.x@49717 b456876b-0849-0410-b77d-98878d47e9d5
[REVERT r49713]Oups, wrong branch

git-svn-id: file:///var/local/code.tiki.org/tikisvn/branches/12.x@49718 b456876b-0849-0410-b77d-98878d47e9d5