After redundant login, redirect to referer