GPG checks.

Good catch on the GPG and MIRRORING_ENABLED stuff. Here's some more fixes:

- Dummy GPG keys for settings_dev.
- Skip the whole user_info cookie thing if we're not mirroring.
- GPG functions less sensitive to MIRRORING_ENABLED.