Redirect to login fixed.