/login page in Craft keeps redirecting to home page. What could be causing that?
/login is the default login page for Craft (see https://craftcms.com/docs/config-settings and scroll down to the users section ). You can override it by adding something like this to your config file:

'loginPath' => 'members/login',