login error times out after 5 seconds