Another possibility would be to stay on the train another 20 minutes to Faro and pick up a hire car there.
Europcar have a depot about 200m from Faro Station here:
AV.DA REPUBLICA,2
8000-079 FARO
Phone: +351 289 823778
You could then drive back to Albufeira.