Fixed problems with 0 challenges in a group. Only allow 'master' password when in development environment