Refactored link auth tests
Moved to crud