Fix login always redirecting to /