Create unit tests for auth-common

Resolves: https://www.pivotaltracker.com/story/show/65492338