Store credentials locally