Adapting to save encrypted passwords