Fixed login bug

Fixed bug where when the whole site was password protected, you could
be redirected to a `/_wdt/.… `