Login controller for login using UI modal dialogs

- add LoginController to do a ajax login using UI modal dialogs + tests
- use LoginController in ProtocolViewer
- fix lifelines app (bring in sync with omx app)