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

This PR solves MAT-17, by preventing users from logging in through multiple browsers. The feature defaults to off.

@chrisndodge this may be of interest to you
@nedbat