Add rake task to test authentication