Second stage authrization with proxy