Small workaround to prevent an exception on login if a user forgot to log out before the length of key for a cache was changed