:-1: - do not implement this here, this is *more* than easy to bypass since there are other ways to authenticate against ownCloud.

Implement this in `OC_User::login()` or use a hook.