Adapted admin cache action for gae

Fixes issue 1835