Fix not returning response when using API with a bad password. Closes #570
Merge pull request #572 from Oipo/issues/570

Fix not returning response when using API with a bad password. Closes #5...