factor out clearLoginFailure
veranstaltungs-template
various changes requested by katrin