tests: don't use relative imports, as they break under test runners.
views.login: pass through the next-page information for redirect