Login by cookie stays on requested page, closes #2