Finished ownership authentication for repositories.

Signed-off-by: Renan Fichberg <rfichberg@gmail.com>