fix authentication callback

Signed-off-by: Adam Stokes <adam.stokes@ubuntu.com>
0.99_6