A bit of refactoring before going any further
Add test for gen_versioned_path
Add auth_url
Add some comment