Temporary solution of login infinite loop

Also:
* Session service provider is used.
* JFactory::getUser() replaced with Cobalt User