This fix in 8.1.3 looks like it may be related, though I'm not sure if it should be kicking over to Safari for login (which seems to happen immediately--before any timeout--right now):
1754: Increase timeout for native app challenge response
Raised timeout to 15 seconds, which should support the majority of slow connections.