In which php version it was working fine ?
is that h 5.6 ?
are you using joomla 3.9 ?
i will fix the login issue.
I am Joomla,PHP programmer having 8 years of experience.
I am very good in wordpress,php,mysql,joomla.
I have done highest projects here in Joomla.