Detect admin capabilities in _bootstrap() instead of _init() (Bug #12305).