Fixed a bug with uperms logout when not enabled