Move the auth helpers out into a separate module