Correct behaviour when running with third-party user database, but outside of the third-party framework