fixed qs params on logout (closes #1297)