added reaction in PAPI for 400 codes to reauthenticate user
fixed remove cookie for new plugin version when reauthenticating