Login url fix when called from a module
Merge pull request #750 from lucianobaraglia/master

Login url fix when called from a module [skip ci]