Added missing include files for struct timeval

As reported by Julien ELIE
digestmd5.c: don't try to locate a reauth cache entry if reauth isn't enabled on the server-side (NULL timeout == NULL hash table size)
Memory leaks in DIGEST-MD5 on authentication failure

This patch fixes it

Test-information:

Verified with Valgrind.
No leak after patch.