Fix infinite recursion issue when displaying LoginLdap form.
Refactoring Login and LoginLdap plugins so that there is as much code reuse as possible.
Controller now extends Login controller. Reusing assets.