Fix blocked login if app is resumed.