Check dashboard config for API host and prot.

This is a config validation fix for issue #62.