register/login and submit button for non logged user redirects to signup page

Noticed another issue - register/login and submit button for non logged user redirects to signup page while the default behaviour should be redirect to login page and then individual, if not a member can go to signup page. you can view this here