Updated to work with OC6.
Apparently OC_User::UserExists returns true, once the user has been
authenticated by SAML. Therefore, the check that triggers user creation
now uses $ocUserDatabase.