Added autologout in external oauth app