This time without syntax errors hopefully :)
This reverts commit 338d067aba.
338d067aba
fixes #7788
refs #6931
Our user backends log exceptions thrown during authentication but they don't throw a exception to inform the caller that an error occured. The new `AuthenticationException' class should be thrown in that case.