raise error if secret not set
adopt latest rest-core
better error handling for firebase and test