Fix keychain warning alert showing app on app launch, if keychain is locked

This could happen if the app is launched via background fetch right when the device started and before it is unlocked by the user.