Make sure not to include auto logout code for embedded widgets