Adding spring depdencies and a way to cache encrypted passwords in memoery.