Add tests for incorrect credentials