Fix not being able to log in on lockscreen