Issue with "Login user with API" mission

I completed the “Login user with API” mission. The user seems registered in the User database, but the mission does not complete. Not sure why. Any pointers you can provide?

Managed to complete it. Thanks anyway for reading this.