Based on the multi_tenancy flag in config file.
1. If multi_tenancy is enabled, then allow only admin users to login
2. If disabled, then member user also can login.

Change-Id: I03dbda9d9db067bff84504941b706b7467f136eb