Configuration options for default login en logout handlers

See "TODO: perhaps make this more configurable".