SONAR-5560 - Fixed UserDao getUserByLogin with no session