In case of Login I’m not agree with you. It’s matter of UX. From my persepctive. Everything should be background friendly.
If I invested time, typed email, password and clicked on login button and the got a phone call — I expect the app to take care of it and finish the login process at the background, even if the process got killed.