Use 'main_app.root_url' for redirection instead of bare 'root_url'.
Use 'main_app.root_url' for redirection instead of bare 'root_url'.

This should fix redirections which failed with a "No route matches ..." error.

alsmola/nopassword,alsmola/nopassword,alsmola/nopassword