Just configure rc.init1.conf and rc.wireless to correct values and it should work. Atleast it works with my server.
If your passphrase is in ASCII then you need to put the KEY line as follows:
I forgot to do that so it didn't work.
I had a similar thread a while ago so check it out