I am not sure if I understand your request.. but you might need to use the latest beta where you can send the exten and pass parameters via url, in that way you might be able to have your own login system and hack your applications into that.
Best regards,