ensure credentials when init'ing