User does not have option to login when asking a question

When an unregistered user asks a question, I've set in settings that they must register before using. The question form has login / register but when they click they only have the option to signup there is not option to login if they have an existing account.
What must I change to show the login form.