freerds: modularized authentication