Added setup script for mockito; fixed device install script
(temporarily)
Removed requirement for empty secret in api response if no secret is set
locally.