Fixing credential load

No point in changing the path if you load credentials beforehand. :-/