Add authentication callback to clone

Signed-off-by: Stefan Widgren <stefan.widgren@gmail.com>