Improved handling of InvalidAuthenticationException.
Authored by: aktion-hip 2008-06-18
Parent: [r189]
Child: [r191]