fix login page when using pin and not connected to a site