Auth helper method

@liammccartney  Take a look when you can please and thanks!