Revert "The login handler now returns a response"

This reverts commit 90c53eebeece07cb7e8f54b757c509a364502022.
Revert "Clarified documentation"

This reverts commit baedc04a76db956ae51d48fd93b806f00f664884.
Revert "Use a login handler instead of a listener"

This reverts commit 95894ea6d4aa81060359f0e78d5ef3a021ad2d2f.