Hello and welcome to this forums.
As this is Kali the login problem is very likely originating from this known problem in Kali: