Add spec for sign out and fix bug with sign out link