save credentials when successfully mounted