Add fix for safely storing db credentials