Added test for logout function of login link directive.