Laravel - Repository and Entity patterns
Maybe I'm just thinking of a different approach, but I normally would've reversed the dependency between UserEntity and UserRepository.  I would expect the UserEntity to represent a singular record in the database and that I would use the UserRepository to retrieve one.

In this case, I would inject the UserRepository into the controller and call UserRepository.Login(userId, password) that would actually perform the lookup against the DB and return a UserEntity representing the logged in user.

Also, I would suggest defining interfaces for your injected classes so that it's easier to provide future implementations