Reversed the temporary fix, as did not solve the problem and it destroyted authentication.