NEXUS-7609: Prevent saving attributes

Even if repo expiration happened, and proxyCache token
is set.

Issue
https://issues.sonatype.org/browse/NEXUS-7609