Fix Gerrit initializer and deploy script

- Check Gerrit uri and link_uri parameters
- Ask for Gerrit HTTP credentials upon deployment