Fixed the filter for the new login path.