Open up controller API to allow better pluginification
Merge pull request #672 from romainneutron/login-enhancements

[3.8] Open up controller API to allow better pluginification