WICKET-5327 write warning to stderr for insecure default crypt key

(cherry picked from commit d7b13f72f418bb7f300bbc3ac14fdb6e094f20a6)