Add an option to prevent multiple logins of the same user.
Merge pull request #2793 from edx/dcs/mat-17

Add an option to prevent multiple logins of the same user.