Writing authentication modules

Here follows the most minimal authentication module:

function test_password(username, password)
  return true;
end
 
module:provides("auth");