Added a view to login from external applications (replace the wrong commit I did before).