Bug fix + add exponential delay to authentication failures

- Fix 'We are already running hooks! Fatal error!' error if AUTH commands are pipelined.
- Add an exponential delay to authentication failures.