Admin permissions/unserialize error in latest version;

After fresh install with empty database in admin GUI remains permission error;
I fixed it with this commit.