Respect the "prevent account creation" option from Moodle. Throw a new type of error to indicate that the user cannot create accounts simply by logging in.

Other: Condense logic in user_login() function.

Conflicts:

	auth.php
Merge branch 'master' of https://github.com/mouneyrac/auth_googleoauth2