Debug exceptions added to authentication method.