This is strange. Are you using bcrypt or similar to hash the user’s password? If so, are you configuring it properly for test environments so that it returns quickly?
This is strange. Are you using bcrypt or similar to hash the user’s password? If so, are you configuring it properly for test environments so that it returns quickly?