More tests for authentication service, closes #1