Testing the retrieve password function, bug needs to be fixed