Logout without ajax in case a different theme is needed.