Fix for #110 Scope issue in LdapAuthenticationProvider::ldapAuthenticate

Makes sure $userEvent is defined, even if $this->dispatcher is NULL. Also cleans up some whitespace.