Check p4 login status before requiring login