Fix features specs for unique logins and create factory