Fixed #112. Fixed Policy#authorize returning [nil].
Fixed deploy script.