fix authentication status in picketlink.js