BugFix. On login, user is redirected to the came_from page if it's present
Fix tests