How to force use of custom login/password reset?

I had a similar issue but this is the solution I found.