Merge pull request #325 from b97pla/master

fixed bug in function call
updated name of statusdb credentials to match config
Merge branch 'master' of github.com:SciLifeLab/scilifelab