I typically use the real live server for my development, but I do this all inside a secure testing sub directory. That way I'm assured that I'm getting full access to the true environment for the actual domain.
I have just used your methos and it worked! My only question is what do you mean by "secure testing sub directory"? How do I make the sub directory secure?