Add auth helpers

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

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