Optionally delay upon success

It could be useful to set a delay for when the authentication is
successful, just like when it is unsuccessful. Add the necessary option
to the configure script and sleep for the specified amount of time if
the option is set.

Signed-off-by: Marcus Karlsson <mk@acc.umu.se>