POULPE-523 REST API: Authentications returns not correct username

Problem: In getAuthentication method of LoginServerResource when response is created username is taken from rest request instead of database.

Solution: Fixed not correct behavior